package com.apabi.service.impl;


import com.apabi.mapper.JournalMapper;
import com.apabi.service.JournalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by huhu on 2018/1/17.
 */
@Service
public class JournalServiceImpl implements JournalService{

    @Autowired
    private JournalMapper journalMapper;

    @Override
    public Map<String, String> selectJournal(String issn) {
        return journalMapper.selectJournal(issn);
    }

    @Override
    public Map<String, String> selectScholar(String code) {
        return journalMapper.selectScholar(code);
    }

    @Override
    public Map<String, String> selectOrganization(String code) {
        return journalMapper.selectOrganization(code);
    }

    @Override
    public List<Map<String, String>> selectOrganizationScholars(String code) {
        return journalMapper.selectOrganizationScholars(code);
    }
}
